<?php

namespace app\home\controller;

use app\common\controller\BaseController;
use app\common\model\hfztcy\LibNotifyPay;
use think\Db;

/**
 *
 * @name Pay.php
 * @package hfztcy
 * @category controller
 * @link http://www.changekeji.com
 * @author rxy
 * @version 2.0
 * @copyright CHANGE INC
 * @since 2022-06-22
 */
class Pay extends BaseController
{
    /**
     * Info: 一元订单
     * Date: 2022/11/8 10:52
     */
    public function notifyByOneYuanOrder ($rawOrderNum,$total_fee,$transaction_id)
    {
        (new LibNotifyPay($rawOrderNum,$total_fee,$transaction_id))->orderByOneYuanSeeVideo();
    }

    /**
     * Info: vip租赁订单
     * Date: 2022/11/8 10:56
     */
    public function notifyByVipOrder ($rawOrderNum,$total_fee,$transaction_id)
    {
        (new LibNotifyPay($rawOrderNum,$total_fee,$transaction_id))->orderByVip();
    }

    /**
     * Info: 视频认证订单
     * Date: 2022/11/8 11:12
     */
    public function notifyByVipAuthOrder($rawOrderNum,$total_fee,$transaction_id)
    {
        (new LibNotifyPay($rawOrderNum,$total_fee,$transaction_id))->orderByVipAuth();
    }

    /**
     * Info: 红娘认证订单
     * Date: 2022/11/8 11:25
     */
    public function notifyByRedMotherOrder ($rawOrderNum,$total_fee,$transaction_id)
    {
        (new LibNotifyPay($rawOrderNum,$total_fee,$transaction_id))->orderByRedMotherAuth();
    }
}